package io;

import java.io.File;

public class IODemo6 {
    public static void main(String[] args) {
        // 重命名
        File src = new File("./test-dir");
        File desc = new File("./test-222");
        src.renameTo(desc);
    }
}
